package com.morder;

public class Info {
  private String id;
  private String value;
  private String image;

  public String getValue() {
    return value;
  }

  public void setValue(String value) {
    this.value = value;
  }

  public String getImage() {
    return image;
  }

  public void setImage(String image) {
    this.image = image;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  @Override
  public boolean equals(Object obj) {
    if (obj instanceof Info) {
      Info i = (Info) obj;
      return String.valueOf(i.getId()).equals(String.valueOf(this.getId()));
    } else {
      return super.equals(obj);
    }
  }
}
